//
//  RankTableVIewCell.m
//  A段项目音乐播放
//
//  Created by 太阳 on 15/5/27.
//  Copyright (c) 2015年 lanou3g.com蓝鸥科技. All rights reserved.
//

#import "RankTableVIewCell.h"

@implementation RankTableVIewCell
- (void)dealloc
{
    [_Rankcount release];
    [_RankDetails release];
    [_RankPhoto release];
    [_RankSingerName release];
    [_RankTime release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self builtSubview];
        self.selectionStyle = UITableViewCellEditingStyleNone;
        
    }
    return self;
}
- (void)builtSubview
{
    self.RankPhoto = [[UIImageView alloc]initWithFrame:CGRectMake(5, 5, 100, 100)];
    [self.RankPhoto setBackgroundColor:[UIColor colorWithRed:0.6 green:1 blue:1 alpha:1]];
    [self.contentView addSubview:self.RankPhoto];
    
    self.title = [[UILabel alloc]initWithFrame:CGRectMake(125, 5, 100, 28)];
    
    
    [self.contentView addSubview:self.title];
    
    self.RankSingerName = [[UILabel alloc]initWithFrame:CGRectMake(125, 40, 100, 20)];
    self.RankSingerName.font = [UIFont systemFontOfSize:15];
    self.RankSingerName.textColor = [UIColor colorWithWhite:0.1 alpha:0.5];
    [self.contentView addSubview:self.RankSingerName];
    
    self.RankSingerName2 = [[UILabel alloc]initWithFrame:CGRectMake(125, 60, 100, 20)];
    self.RankSingerName2.font = [UIFont systemFontOfSize:15];
    self.RankSingerName2.textColor = [UIColor colorWithWhite:0.1 alpha:0.5];

    [self.contentView addSubview:self.RankSingerName2];
    
    self.RankSingerName3 = [[UILabel alloc]initWithFrame:CGRectMake(125, 80, 100, 20)];
    self.RankSingerName3.font = [UIFont systemFontOfSize:15];
    self.RankSingerName3.textColor = [UIColor colorWithWhite:0.1 alpha:0.5];

    [self.contentView addSubview:self.RankSingerName3];
    
}


- (void)awakeFromNib {
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
